package com.woniuxy.three.pms.dao;

import java.util.List;

import com.woniuxy.three.pms.bean.OrderChildBean;

public interface OrderChildBeanMapper {
    int deleteByPrimaryKey(Integer id);

    int deleteByOrderid(Integer orderid);											//通过订单id删除
    
    int insert(OrderChildBean record);

    int insertSelective(OrderChildBean record);

    OrderChildBean selectByPrimaryKey(Integer id);
     
    int updateByPrimaryKeySelective(OrderChildBean record);					//动态更新

    int updateByPrimaryKey(OrderChildBean record);								//更新全部
    
    public List<OrderChildBean>   findbyorderid(Integer id);					//通过订单id查找子订单
    
    int updateByorderId(OrderChildBean record);									//通过订单id动态更新
}